module.exports = {
    userCreateMessageRules: {
        content: [
            { type: 'string', required: true, message: '请输入string类型内容' },
        ]
    },
    createMessageRules: {
        content: [
            { type: 'string', required: true, message: '请输入string类型内容' },
        ],
        userId: { type: 'number', required: true, message: '请输入number类型用户id' },
    },
    updateMessageRules: {
        id: { required: true, message: '请输入消息id' },
        password: { type: 'string', required: false, message: '请输入密码' },
    },
    deleteMessageRules: {
        id: { required: true, message: '请输入消息id' },
    },
    getMessageByIdRules: {
        id: { required: true, message: '请输入消息id' },
    },
}